<div class="column full fl">
		
			<div class="box themed_box ">

	<h2 class="box-header"><?php echo $title; ?></h2>
	<div class="box-content box-table ">
     
	<?php echo $this->session->flashdata('message');?>
	<table class="display" id="tabledata">
	<thead>
		<tr>
			<th><?php echo $this->lang->line('no');?></th>
            <th><?php echo $this->lang->line('month');?></th>
            <th><?php echo $this->lang->line('week');?></th>
            <th><?php echo 'Call';?></th>
            <th><?php echo 'Presentasi';?></th>
            <th><?php echo 'Meeting';?></th>
            <?php if(($this->session->userdata('user_pos')== $this->config->item('ta')) || ($this->session->userdata('user_pos')== $this->config->item('se'))): ?>
            <?php else:?>
            <th><?php echo $this->lang->line('pic');?></th>
            <?php endif;?>
			<th>Action</th>
		</tr>
	</thead>
	<tbody>
	<?php $i=1; foreach($table['target'] as $rec): ?>
		<tr class="gradeX">

			<td><?php echo $i; ?></td>
			
            <td><?php echo $rec['month']; ?></td>
            <td><?php echo $rec['week']-$rec['week2'];?></td>
            <td><?php echo $rec['call1'];?></td>
            <td><?php echo $rec['presentation'];?></td>
            <td><?php echo $rec['meeting'];?></td>        
            <?php if(($this->session->userdata('user_pos')== $this->config->item('ta')) || ($this->session->userdata('user_pos')== $this->config->item('se'))): ?>
            <?php else:?>
            <td><?php echo $rec['pic'] ?></td>
            <?php endif;?>
            <td class="tc">
                <a class="button white" href="<?php  echo site_url($this->config->item('actvtarget_view').$rec['week'].'/'.$rec['year'].'/'.$rec['pic']); ?>"><span class="icon_single video"></span></a> 
                <!--<a class="button white" href="<?php echo site_url($this->config->item('actvtarget_delete').$rec['week'].'/'.$rec['month'].'/'.$rec['year']); ?>"><span class="icon_single cancel"></span></a>
				<a class="button white" href="<?php echo site_url($this->config->item('actvtarget_edit').$rec['id']); ?>"><span class="icon_single edit"></span></a>-->
            </td>
			
		</tr>
	<?php $i++;endforeach;?>	
	</tbody>
	</table>
	<div class="clear"></div>
	</div>
	</div>
	
	</div>
	
	<!-- half 
	<div class="column onehalf fr">
	
		<div class="box themed_box">
			<h2 class="box-header-new"></h2>

			<h2 class="box-header">	box table - gallery</h2>
			<div class="box-content box-table">
			dsdfs
			</div>
		</div>
	
	<div class="clear"></div>
	</div>-->	